Skip to main content

BaseConvert

Type​

operator

Summary​

Converts the base of Operand

Syntax​

<Operand> converted from base <Source> to base <Target>

Description​

Interprets a string in the desired source base and converts it to the desired target base, and returns a string representation.

note

The source and destination bases must be integers between 2 and 32.

Parameters​

NameTypeDescription

Operand

An expression that evaluates to a string.

Source

An expression that evaluates to an integer.

Target

An expression that evaluates to an integer.

Value​

NameTypeDescription

return

A string representation Operand interpreted as a number in base From, converted to base To.

Thank you for your feedback!

Was this page helpful?